From: Simon McVittie Date: Fri, 27 Jan 2017 09:06:39 +0000 (+0000) Subject: libostree: Don't distribute generated enumtypes in tarballs X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~40^2~63 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ce10fd926197a102bd44f0faff3d59bb214336aa;p=ostree.git libostree: Don't distribute generated enumtypes in tarballs They are built at "make" time and cleaned up by "make clean", so there is no need to distribute them. Signed-off-by: Simon McVittie Closes: #665 Approved by: cgwalters --- diff --git a/Makefile-libostree.am b/Makefile-libostree.am index 88210c75..7454845a 100644 --- a/Makefile-libostree.am +++ b/Makefile-libostree.am @@ -47,11 +47,12 @@ src/libostree/ostree-enumtypes.c: src/libostree/ostree-enumtypes.c.template $(EN --fhead "#include \"ostree-enumtypes.h\"" \ $(ENUM_TYPES) > $@.tmp && mv $@.tmp $@ -ENUM_GENERATED = \ +nodist_libostree_1_la_SOURCES = \ src/libostree/ostree-enumtypes.h \ src/libostree/ostree-enumtypes.c \ $(NULL) -BUILT_SOURCES += $(ENUM_GENERATED) + +BUILT_SOURCES += $(nodist_libostree_1_la_SOURCES) CLEANFILES += $(BUILT_SOURCES) @@ -61,7 +62,6 @@ libbupsplit_la_SOURCES = \ $(NULL) libostree_1_la_SOURCES = \ - $(ENUM_GENERATED) \ src/libostree/ostree-async-progress.c \ src/libostree/ostree-cmdprivate.h \ src/libostree/ostree-cmdprivate.c \